package com.hrcx.mystery.dto.admin;

import com.hrcx.mystery.pojo.EbMysteryMerchandiseAssociated;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;
import java.io.Serializable;
import java.util.List;

/**
 * <h1>新增盲盒奖品对象请求封装</h1>
 *
 * @author LinXiPeng
 * @className NewMysteryDto
 * @date 2021/12/15 9:23
 * Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "新增盲盒对象请求封装")
public class PrizeMysteryDto implements Serializable {

    private static final long serialVersionUID = -8009733861408813619L;

    @ApiModelProperty("盲盒编号")
    @NotNull
    private Integer id;

    @ApiModelProperty("奖品集合")
    private List<EbMysteryMerchandiseAssociated> associatedList;

}